﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using Confucius.entity;

namespace Confucius.dao
{
    /// <summary>
    /// Author:Liangchuan Gu
    /// date:2012-04-08
    /// </summary>
    public interface NPCDAO
    {
        List<NPC> retrieveNPCs(String gameID);
        NPC readNPC(String npcID, String gameID);
        DialogNode readDialogNode(String dialogNodeID, String gameID);

        /**
         * Retrieve all the dialog node from the specific dialog node ID.
         * @param fromDialogNodeID
         * @param gameID
         * @return
         */
        List<DialogNodeOrder> retrieveAdjacentDialogNodeOrder(String fromDialogNodeID, String gameID);
        String readNPCStatus(String npcID);
        void updateNPCStatus(String npcID, String status);
    }
}
